package com.hex.ds.hdrs.app.service;

import com.hex.ds.hdrs.app.dto.AppGroupRelationDto;
import com.hex.ds.hdrs.app.po.AppGroupRelationPo;

import java.util.List;


/**
 * @Package com.hex.ds.hdrs.app.service
 * @ClassName IAppGroupRelationService
 * @Description 应用与应用组关联业务接口
 * @Author yu liuyang
 * @Date 2023/4/16 10:46
 * @Version v1.0
 **/
public interface IAppGroupRelationService {

     /**
      * @Method queryListByGroupCode <br>
      * @Param [groupCode] <br>
      * @Return java.util.List<com.hex.ds.hdrs.app.po.AppGroupRelation> <br>
      * @Description 根据应用组编码查询应用与应用组关联列表 <br>
      * @Author yu liuyang <br>
      * @Date 2023/4/17 18:25 <br>
      * @Version V1.0 <br>
      */
     List<AppGroupRelationPo> queryListByGroupCode(String groupCode);

     /**
      * @Method queryOneByAppCode <br>
      * @Param [appCode] <br>
      * @Return com.hex.ds.hdrs.app.po.AppGroupRelation <br>
      * @Description 根据应用编码查询应用与应用组关联 <br>
      * @Author yu liuyang <br>
      * @Date 2023/4/17 18:26 <br>
      * @Version V1.0 <br>
      */
     AppGroupRelationPo queryOneByAppCode(String appCode);

     /**
      * @Method add <br>
      * @Param [appGroupRelationDto] <br>
      * @Return void <br>
      * @Description 添加应用与应用组关联 <br>
      * @Author yu liuyang <br>
      * @Date 2023/4/17 18:26 <br>
      * @Version V1.0 <br>
      */
     void add(AppGroupRelationDto appGroupRelationDto);

     /**
      * @Method deleteByAppCode <br>
      * @Param [appCode] <br>
      * @Return void <br>
      * @Description 根据应用编码删除应用与应用组关联 <br>
      * @Author yu liuyang <br>
      * @Date 2023/4/17 18:27 <br>
      * @Version V1.0 <br>
      */
     void deleteByAppCode(String appCode);

     /**
      * @Method modifyByAppCode <br>
      * @Param [appGroupRelationDto] <br>
      * @Return void <br>
      * @Description 根据应用编码修改应用与应用组关联 <br>
      * @Author yu liuyang <br>
      * @Date 2023/4/17 18:27 <br>
      * @Version V1.0 <br>
      */
     void modifyByAppCode(AppGroupRelationDto appGroupRelationDto);

}
